package org.example.StudentManagementSystem.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.example.StudentManagementSystem.entity.Grade;
import org.example.StudentManagementSystem.mapper.GradesMapper;
import org.example.StudentManagementSystem.service.GradeService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class GradeServiceImpl extends ServiceImpl<GradesMapper, Grade> implements GradeService {
    @Override
    public boolean removeBatchByIds(List<Integer> idList) {
        return baseMapper.deleteBatchIds(idList) > 0;
    }
}
